package com.zyf.dao;

import com.zyf.entity.book;

import java.util.List;
import java.util.Map;

public interface dao {

    public List<book> findBook(Map<String, String> bookinfo);
    public book findById(int id);
    public int insertBook(book abookWithoutId);
    public int deleteBook(int id);
    public int setProperties(int id,Map<String,String> settings);
    public int refreshEnterDate(int id,java.sql.Date sqlDate);

}
